import Dialog from '@vant/weapp/dialog/dialog';
Page({

  data: {
    pendingShow: false,
    department: ''
  },

  onLoad(options) {

  },

  onReady() {

  },
  
  departmentConfim() {
    Dialog.confirm({
      title: '确定该患者转入本科室吗？',
    })
      .then(() => {
        // on confirm
      })
      .catch(() => {
        // on cancel
      });
  },

  searchDepartmentShow() {
    this.setData({
      pendingShow: true,
    })
  },
  
})